﻿<Window x:Class="Hockey.UILayer.Forms.EndGameNotification"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:loc="http://schemas.tomer.com/winfx/2006/xaml/presentation"                                                                                                
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        ShowInTaskbar="False" WindowStyle="None" SizeToContent="WidthAndHeight" ResizeMode="NoResize"
        xmlns:service="clr-namespace:MVVMDialogs;assembly=MVVMDialog"              
        service:DialogService.IsRegisteredView="True"     
        WindowStartupLocation="CenterOwner"
        Background="{DynamicResource WindowBackgroundBrush}"        
        >
    <Grid>
        <Border BorderBrush="Black" BorderThickness="3" Padding="10">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="Auto" />
                </Grid.RowDefinitions>

                <TextBlock Grid.Row="0" FontWeight="Bold" FontSize="35" Text="{Binding Path=Title}" Margin="10" />
                
                <Button Grid.Row="1" VerticalAlignment="Center" Content="{loc:Translate Default='Zavřít'}" Margin="10" Width="100"
                        Command="{Binding Path=CloseCommand}" />
            </Grid>
        </Border>        
    </Grid>
</Window>
